package com.jumi.microservice.material.dto;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author ssk
 * @create 2020/8/5 9:29
 **/
public class JmMaterialRequest extends AbstractObject implements Serializable {

    private static final long serialVersionUID = 8450459020113263476L;

    @ApiModelProperty("物料ID")
    private Long materialId;

    @ApiModelProperty("物料编码")
    private String materialCode;

    @ApiModelProperty("物料属性名称(格式:属性1,属性2,...)")
    private String specName;

    @ApiModelProperty("商品ID")
    private Long goodsId;

    @ApiModelProperty("条形码")
    private String barCode;

    @ApiModelProperty("属性值ID集合")
    private Long[] attrValueIds;

    @ApiModelProperty("毛重")
    private BigDecimal weight;

    @ApiModelProperty("第三方编码")
    private String otherCode;

    private String createBy;

    private String updateBy;


    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }


    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long[] getAttrValueIds() {
        return attrValueIds;
    }

    public void setAttrValueIds(Long[] attrValueIds) {
        this.attrValueIds = attrValueIds;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getOtherCode() {
        return otherCode;
    }

    public void setOtherCode(String otherCode) {
        this.otherCode = otherCode;
    }
}
